package com.idheima;

public class Cat extends animal{
    public void catchMouse(){
        System.out.println("catch mouse");
    }

    @Override
    public void eat() {
        super.eat();
        System.out.println("eat mouse");
    }
    public void show(String name){
        System.out.println(name);
        super.eat();

    }
    String name="小猫";
}
